package com.freesky.biz.icbc.mapper;

import com.freesky.biz.icbc.domain.TIntegralExchange;
import com.freesky.biz.icbc.domain.TIntegralPointSplit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 积分兑换
 */
public interface IntegralExchangeMapper {

    List<TIntegralExchange> findIntegralMobileDetail(TIntegralExchange integralExchange);

    public List<TIntegralPointSplit> loadIntegralMobileDetailList();

    public int getRechargeMobileLogCount(@Param("detailId") String detailId);

    public TIntegralExchange getPointRechageById(@Param("id") String id);

    public int updateProcessedStatusById(@Param("id") String id,
                                         @Param("processed") String processed);

    public int updatePointResultById(TIntegralPointSplit pointSplitModel);

    List<String> selectIntegralQueryList();

    public int updateIntegralQuery(@Param("integral") String integral,
                                   @Param("mobile") String mobile,
                                   @Param("remarks") String remarks);
}
